package com.wenwu.dao;

import java.sql.SQLException;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wenwu.common.bean.RelicsBasic;
import com.wenwu.common.bean.RelicsBasicExample;
import com.wenwu.common.page.PaginationVO;

public interface RelicsBasicMapper extends Dao{
    int countByExample(RelicsBasicExample example);

    int deleteByExample(RelicsBasicExample example);

    int deleteByPrimaryKey(Integer basicId);

    int insert(RelicsBasic record);

    int insertSelective(RelicsBasic record);

    List<RelicsBasic> selectByExampleWithBLOBs(RelicsBasicExample example);

    List<RelicsBasic> selectByExample(RelicsBasicExample example);

    RelicsBasic selectByPrimaryKey(Integer basicId);

    int updateByExampleSelective(@Param("record") RelicsBasic record, @Param("example") RelicsBasicExample example);

    int updateByExampleWithBLOBs(@Param("record") RelicsBasic record, @Param("example") RelicsBasicExample example);

    int updateByExample(@Param("record") RelicsBasic record, @Param("example") RelicsBasicExample example);

    int updateByPrimaryKeySelective(RelicsBasic record);

    int updateByPrimaryKeyWithBLOBs(RelicsBasic record);

    int updateByPrimaryKey(RelicsBasic record);
    
    int selectTotalRecord(@Param("relicsBasic")RelicsBasic relicsBasic) throws SQLException;

	List<RelicsBasic> selectList(@Param("relicsBasic")RelicsBasic relicsBasic, @Param("pageVo")PaginationVO pageVo)
			throws SQLException;
	
	int deleteByKey(List<?> list) throws SQLException;
}